package com.gxa.hualian.entity;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author Administrator
 */
public class Get implements Serializable {
    private Integer id;
    private User user;
    private Coupon coupon;
    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Coupon getCoupon() {
        return coupon;
    }

    public void setCoupon(Coupon coupon) {
        this.coupon = coupon;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Get(Integer id, User user, Coupon coupon, Date time) {
        this.id = id;
        this.user = user;
        this.coupon = coupon;
        this.time = time;
    }

    @Override
    public String toString() {
        return "Get{" +
                "id=" + id +
                ", user=" + user +
                ", coupon=" + coupon +
                ", time=" + time +
                '}';
    }

    public Get() {
    }
}
